package com.masterclient.app.businessmodule.usermodule.login.beans;

import com.eoner.common.bean.base.CommonBaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/7/13 11:20
 * 功能说明：
 */

public class LoginBean extends CommonBaseBean{

    /**
     * code : 0
     * msg : success
     * data : true
     * args : {"cart_num":0,"is_vip":0}
     */


    private LoginData data;


    public LoginData getData() {
        return data;
    }

    public void setData(LoginData data) {
        this.data = data;
    }

    public static class LoginData{
        private String sh_customer_id;
        private String sh_token;
        private String sh_is_disable;
        private String sh_freeze_reason;

        public String getSh_is_disable() {
            return sh_is_disable;
        }

        public void setSh_is_disable(String sh_is_disable) {
            this.sh_is_disable = sh_is_disable;
        }

        public String getSh_freeze_reason() {
            return sh_freeze_reason;
        }

        public void setSh_freeze_reason(String sh_freeze_reason) {
            this.sh_freeze_reason = sh_freeze_reason;
        }

        /**
         * sh_salesrule : {"sh_title_text":"送你36元新人优惠券！赶快下单使用吧~","sh_salesrule":[{"sh_name":"新人专享20元优惠券","sh_discount_amount":"20","sh_validity_time":"有效期3天"},{"sh_name":"新人专享10元优惠券","sh_discount_amount":"10","sh_validity_time":"有效期3天"},{"sh_name":"新人专享6元优惠券","sh_discount_amount":"6","sh_validity_time":"有效期3天"}]}
         */




        public String getSh_customer_id() {
            return sh_customer_id;
        }

        public void setSh_customer_id(String sh_customer_id) {
            this.sh_customer_id = sh_customer_id;
        }

        public String getSh_token() {
            return sh_token;
        }

        public void setSh_token(String sh_token) {
            this.sh_token = sh_token;
        }
        private ShSalesruleBeanX sh_salesrule;
        public ShSalesruleBeanX getSh_salesrule() {
            return sh_salesrule;
        }

        public void setSh_salesrule(ShSalesruleBeanX sh_salesrule) {
            this.sh_salesrule = sh_salesrule;
        }


        public static class ShSalesruleBeanX implements Serializable{
            /**
             * sh_title_text : 送你36元新人优惠券！赶快下单使用吧~
             * sh_salesrule : [{"sh_name":"新人专享20元优惠券","sh_discount_amount":"20","sh_validity_time":"有效期3天"},{"sh_name":"新人专享10元优惠券","sh_discount_amount":"10","sh_validity_time":"有效期3天"},{"sh_name":"新人专享6元优惠券","sh_discount_amount":"6","sh_validity_time":"有效期3天"}]
             */

            private String sh_title_text;
            private List<ShSalesruleBean> sh_salesrule;

            public String getSh_title_text() {
                return sh_title_text;
            }

            public void setSh_title_text(String sh_title_text) {
                this.sh_title_text = sh_title_text;
            }

            public List<ShSalesruleBean> getSh_salesrule() {
                return sh_salesrule;
            }

            public void setSh_salesrule(List<ShSalesruleBean> sh_salesrule) {
                this.sh_salesrule = sh_salesrule;
            }

            public static class ShSalesruleBean implements Serializable{
                /**
                 * sh_name : 新人专享20元优惠券
                 * sh_discount_amount : 20
                 * sh_validity_time : 有效期3天
                 */

                private String sh_name;
                private String sh_discount_amount;
                private String sh_validity_time;

                public String getSh_name() {
                    return sh_name;
                }

                public void setSh_name(String sh_name) {
                    this.sh_name = sh_name;
                }

                public String getSh_discount_amount() {
                    return sh_discount_amount;
                }

                public void setSh_discount_amount(String sh_discount_amount) {
                    this.sh_discount_amount = sh_discount_amount;
                }

                public String getSh_validity_time() {
                    return sh_validity_time;
                }

                public void setSh_validity_time(String sh_validity_time) {
                    this.sh_validity_time = sh_validity_time;
                }
            }
        }
    }
}
